package 监控二叉树;

/**
 * createTime: 2025/4/28 9:45
 * description:
 *
 * @author AirMan
 */
public class Test {
    public static void main(String[] args) {
        // 示例测试用例：构造二叉树并测试监控功能
        TreeNode root = new TreeNode(0);
        root.left = new TreeNode(0);
        root.left.left = new TreeNode(0);
        root.left.right = new TreeNode(0);

        Solution solution = new Solution();
        int result = solution.minCameraCover(root);
        System.out.println("最少需要的摄像头数量: " + result);
    }
}
